MOD DE BARREIRA REALISTA - PES 2021 (Steam 1.07.02) + Sider
==================================================================
Barreira.lua 0.5.1

O QUE O MOD FAZ
  Falta frontal (4 a 7 na barreira, ate ~32 m do gol):
  * Na barreira entram os mais altos e que saltam mais.
  * Os 2 zagueiros que marcam melhor ficam na area.
  * O mais baixo e rapido fica fora, esperando o rebote / contra-ataque.
  Falta lateral (bola a 16 m ou mais da linha do meio do gol):
  * Laterais, pontas e atacantes mais baixos vao para a barreira.
  * Volantes, zagueiros e os melhores marcadores ficam na area.
  Sempre:
  * A quantidade na barreira continua sendo do jogo. So mudam os jogadores.
  * O goleiro nunca vai para a barreira. Falta frontal de longe (1 a 3 na barreira) fica com o jogo.

O QUE NAO E MODIFICADO
  * Nenhum arquivo do jogo (PES2021.exe, dt13, dt18, .cpk). Tudo e feito na memoria.
  * Se o codigo do jogo nao for o esperado (outro exe ou outro gancho), o mod nao muda nada.
  * Nenhum arquivo de registro e gravado (registrar = 0).

REQUISITOS
  * PES 2021 Steam 1.07.02 (exe original)
  * Sider com lua.enabled = 1 e luajit.ext.enabled = 1

COMO INSTALAR
1. Copie o conteudo da pasta "modules" deste pacote para a pasta "modules" do Sider.
2. No sider.ini, adicione depois das outras linhas lua.module:
     lua.module = "Barreira.lua"
3. Abra o jogo. No sider.log deve aparecer "Barreira: pronto: gancho instalado | troca LIGADA".

AJUSTES (modules\Barreira.ini)
  trocar = 1        1 = troca a barreira, 0 = fica a barreira do jogo
  peso_salto = 0.7  peso do salto na nota da barreira frontal
  registrar = 0     1 = grava cada barreira em barreira-*.txt (para quem quiser conferir). 0 = nao grava nada

TECLA (com a pagina do Barreira aberta no overlay do Sider)
  [5] liga/desliga a troca durante a partida. Nao use 1 e ` : o Sider usa para trocar de modulo.


==================================================================
REALISTIC FREE-KICK WALL MOD - PES 2021 (Steam 1.07.02) + Sider
==================================================================
Barreira.lua 0.5.1

WHAT IT DOES
  Central free kick (4 to 7 in the wall, up to ~32 m from goal):
  * The tallest players with the best jumping form the wall.
  * The 2 centre-backs with the best marking stay in the box.
  * The shortest and fastest player stays out, waiting for the rebound / counter-attack.
  Wide free kick (ball 16 m or more from the centre line of the goal):
  * Full-backs, wingers and the shortest forwards go to the wall.
  * Defensive midfielders, centre-backs and the best markers stay in the box.
  Always:
  * The number of players in the wall is still decided by the game. Only the players change.
  * The goalkeeper never goes to the wall. Long-range central free kicks (1-3 in the wall) are left to the game.

WHAT IS NOT MODIFIED
  * No game file (PES2021.exe, dt13, dt18, .cpk). Everything happens in memory.
  * If the game code is not the expected one (other exe or another hook), the mod changes nothing.
  * No log files are written (registrar = 0).

REQUIREMENTS
  * PES 2021 Steam 1.07.02 (original exe)
  * Sider with lua.enabled = 1 and luajit.ext.enabled = 1

INSTALL
1. Copy the contents of this package's "modules" folder into your Sider "modules" folder.
2. In sider.ini add, after the other lua.module lines:
     lua.module = "Barreira.lua"
3. Start the game. sider.log should show "Barreira: pronto: gancho instalado | troca LIGADA".

SETTINGS (modules\Barreira.ini, comments in Portuguese)
  trocar = 1        1 = change the wall, 0 = keep the game's wall
  peso_salto = 0.7  weight of jumping in the central-wall score
  registrar = 0     1 = write every wall to barreira-*.txt (if you want to check it). 0 = write nothing

KEY (with the Barreira page open in the Sider overlay)
  [5] switch the wall change on/off during the match. Do not use 1 and ` : Sider uses them to switch modules.
